from django.conf.urls import url
from django.contrib import admin

from . import views

urlpatterns = [

    # 发送验证码  this.host + "/image_codes/" + this.uuid + "/";
    url(r'^image_codes/(?P<uuid>[\w-]+)/$', views.ImageCodeView.as_view()),

    #发送短信
    url(r'^sms_codes/(?P<mobile>1[3-9]\d{9})/$', views.SMSCodeView.as_view()),

]
